<!-- BEGIN footer -->
<div class="footer">
  <div id="globalize"><%= languages_menu %></div>
  <p><a href="http://creativecommons.org/licenses/GPL/2.0/" title="View License">GPL/CC</a>
  	<%=h 'by the'.t %> <a href="http://transformativeworks.org/" title="The Organization for Transformative Works">OTW</a>
  	&#8212; <%= link_to "Terms of Service".t, tos_path -%>
  	&#8212; <%= link_to 'Report Abuse'.t, new_abuse_report_path %>
  	&#8212; <%= link_to 'Send Feedback'.t, url_for(:controller => :feedback) -%>
  	
  	<%- if (logged_in? && current_user.is_tag_wrangler?) || logged_in_as_admin? -%>
  	  &#8212; <%= link_to 'Tag Wrangling'.t, tag_wranglings_path -%>
  	<%- end -%>
  	<%- if ((logged_in? && current_user.is_translator?) || logged_in_as_admin?) -%>
  	  &#8212;
  	  <%- if Locale.base? -%>
  	    <%=h 'Set Locale To Translate'.t %>
  	  <%- else -%>
	      <%= link_to 'Translate This Page'.t, translate_path(:controller_to_translate => controller.controller_name, :action_to_translate => controller.action_name) -%>
	    <%- end -%>
  	<%- end -%>
</p>
</div>

<!-- END footer -->
<% if ENV["RAILS_ENV"]=="development" %>
<div id="debug">
  <h1>Development Notice</h1>
  <p>
    This is a development site. That means, please don't put in 
    anything you need to keep secure or want to preserve. 
    All the contents of this site (including user accounts) can and 
    probably will be wiped without notice as we work. 
  </p>
  <p>
    Please <strong>do</strong>
    help us out and <a href="http://code.google.com/p/otwarchive/issues/list">report any problems</a>!
  </p>
  <p>
    These links below here are just to provide debugging info for your friendly neighborhood coders, 
    please ignore. 
  </p>
  <dl class="debug_navigation">
    <dt>
      <a href="#" onclick="Element.toggle('params_debug_info'); return false;">params</a>
    </dt>
    <dd id="params_debug_info" class="debug_info" style="display:none">
      <%= debug(params) %>
    </dd>
    <dt>
      <a href="#" onclick="Element.toggle('session_debug_info'); return false;">session</a>
    </dt>
    <dd id="session_debug_info" class="debug_info" style="display:none">
      <%= debug(session) %>
    </dd>
    <dt>
      <a href="#" onclick="Element.toggle('env_debug_info'); return false;">env</a>
    </dt>
    <dd id="env_debug_info" class="debug_info" style="display:none">
      <%= debug(request.env) %>
    </dd>
    <dt>
      <a href="#" onclick="Element.toggle('request_debug_info'); return false;">request</a>
    </dt>
    <dd id="request_debug_info" class="debug_info" style="display:none">
      <%= debug(request) %>
    </dd>
  </dl>
</div>
<% end %>
